// 流程
const express = require('express');
//1. 导入路由器文件
const homeRouter = require('./routes/homeRouter');
const adminRouter = require('./routes/adminRouter')
//
const app = express();
//2. 使用
app.use(homeRouter);
app.use(adminRouter);

app.listen(80, () => {
    console.log('启动....')
})